package cn.pzaily.orange.core.utils.page;

import java.io.Serializable;
import java.util.List;

/**
 * @PackageName: cn.pzaily.orange.core.page
 * @Description:
 * @Author: Pang
 * @Date: 2021-05-10 22:35
 */
public class PageResponse implements Serializable {

    /**
     * 当前页数
     */
    private Integer pageNum;

    /**
     * 每页数量
     */
    private Integer pageSize;

    /**
     * 数据总数
     */
    private Long totalSize;

    /**
     * 页码总数
     */
    private Integer totalPageSize;

    /**
     * 数据
     */
    private List<?> content;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }

    public Integer getTotalPageSize() {
        return totalPageSize;
    }

    public void setTotalPageSize(Integer totalPageSize) {
        this.totalPageSize = totalPageSize;
    }

    public List<?> getContent() {
        return content;
    }

    public void setContent(List<?> content) {
        this.content = content;
    }
}
